package com.glela.goods.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.glela.goods.model.DistributaryTemplateDetails;

public interface DistributaryTemplateDetailsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DistributaryTemplateDetails record);

    int insertSelective(DistributaryTemplateDetails record);

    DistributaryTemplateDetails selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DistributaryTemplateDetails record);

    int updateByPrimaryKey(DistributaryTemplateDetails record);

	List<DistributaryTemplateDetails> achieveAvailableTemplateDetails(@Param("templateId") int templateId);
}